package cn.hx.handsetticketinspection.function;


import com.alibaba.fastjson.JSONObject;


import java.io.IOException;

/**
 * http 网络请求回调函数抽象类
 * @Author: HuangMinJie
 * @since: 2021/12/22  14:16
 */
public abstract class HttpCallbackFunction{

    public abstract void success(JSONObject res);

    public abstract void fail(JSONObject res);

    public abstract void error(IOException e);
}
